<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
    <channel>
        <title>Latest commits in {{ project }}:{{ branch }}</title>
        <description>RSS provided by Gitamin</description>
        <link>{{ url('home') }}</link>

        {% for commit in commits %}
        <item>
            <title>{{ commit.message }}</title>
            <description>{{ commit.author.name }} authored {{ commit.shortHash }} in {{ commit.date | format_date }}</description>
            <link>{{ url('commit', {project: project, commit: commit.hash}) }}</link>
            <pubDate>{{ commit.date | date('r') }}</pubDate>
            <author>{{ commit.author.email }} ({{ commit.author.name }})</author>
        </item>
        {% endfor %}
    </channel>
</rss>
